﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Text;

namespace Admx_Generator
{
    public class TextPresentation : IPresentationElement
    {
        public TextPresentation(string text)
        {
            this.Text = text;
        }

        private string Text { get; set; }

        public void Save(XmlWriter xmlWriter)
        {
            // text
            xmlWriter.WriteStartElement("text");
            xmlWriter.WriteValue(this.Text);
            xmlWriter.WriteEndElement(); // text
        }
    }
}
